/*
 * Copyright (c) 2018-2999 湖南洛云网络科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.ShopWallet;
import com.yami.shop.common.util.PageParam;

/**
 * 商家钱包信息
 *
 * @author Dwl
 * @date 2019-09-19 14:02:57
 */
public interface ShopWalletService extends IService<ShopWallet> {

    /**
     *  获取店铺钱包详情
     * @param shopId 店铺id
     * @return 店铺钱包信息
     */
    ShopWallet getShopWalletByShopId(Long shopId);

    /**
     * 条件查询，分页获取店铺钱包
     * @param page 分页参数
     * @param shopWallet 店铺钱包参数
     * @return 店铺钱包分页列表
     */
    IPage<ShopWallet> pageShopWallet(PageParam<ShopWallet> page, ShopWallet shopWallet);
}
